package com.jp.annotation;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Title: App
 * Description:
 *
 * @author zifan_jp
 * @version 1.0
 * @since Date: 2019-12-05 14:44
 * Copyright: Copyright (c) zifan_jp
 * ModificationHistory   Who    When    What
 * -----------------------------------------------
 */
public class App {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext app = new AnnotationConfigApplicationContext(Person.class);

        String[] strings = app.getBeanDefinitionNames();
        for(String string : strings){
            System.out.println(string);
        }

    }
}
